package com.tfjybj.itoo.exam.ext.mongo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 商俊帅
 * @date 2022/01/10 21:16
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity implements Serializable {
    /**
     * 主键Id
     */
    @Id
    protected String id;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 删除标记
     */
    private int isDelete = 0;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建日期
     */
    private Date createTime;
    /**
     * 更新日期
     */
    private Date updateTime;
}
